home *** CD-ROM | disk | FTP | other *** search
- var §\x01§ = 503;
- while(true)
- {
- if(eval("\x01") == 503)
- {
- set("\x01",eval("\x01") - 388);
- §§push(true);
- }
- else
- {
- if(eval("\x01") != 115)
- {
- break;
- }
- set("\x01",eval("\x01") + 356);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 298);
- }
- }
- }
- if(eval("\x01") == 471)
- {
- set("\x01",eval("\x01") + 298);
- toggleHighQuality();
- }
- else if(eval("\x01") == 769)
- {
- set("\x01",eval("\x01") - 567);
- if(!_global.clickx)
- {
- _global.clickx = new Object();
- }
- §§pop();
- if(!_global.clickx.shell)
- {
- _global.clickx.shell = new Object();
- }
- §§pop();
- if(!_global.clickx.shell.Shell)
- {
- var _loc2_ = clickx.shell.Shell = function()
- {
- }.prototype;
- _loc2_.launchFile = function(fileName)
- {
- _level0.mdm.exec(fileName,_level0.mdm.ASYNC);
- };
- _loc2_.launchURL = function(theURL)
- {
- if(clickx.util.PlatformUtil.getPlatform() != "mac")
- {
- _level0.mdm.exec(theURL,_level0.mdm.ASYNC);
- }
- else
- {
- var _loc1_ = "tell application \"Safari\"\r";
- _loc1_ += "activate\r";
- _loc1_ += "open location \"" + theURL + "\"" + "\n";
- _loc1_ += "end tell";
- _level0.mdm.AppleScript.setScript(_loc1_);
- var _loc3_ = _level0.mdm.AppleScript.compileScript();
- var _loc2_ = _level0.mdm.AppleScript.run(_level0.mdm.ASYNC);
- }
- };
- _loc2_.prompt = function(theMessage)
- {
- _level0.mdm.Dialogs.prompt(theMessage);
- };
- _loc2_.execute = function(command)
- {
- _level0.mdm.exec(command,_level0.mdm.ASYNC);
- };
- _loc2_.shutDown = function()
- {
- _level0.mdm.Application.exit(_level0.mdm.ASYNC);
- };
- clickx.shell.Shell = function()
- {
- }.getInstance = function()
- {
- if(clickx.shell.Shell._instance == null)
- {
- clickx.shell.Shell._instance = new clickx.shell.Shell();
- }
- return clickx.shell.Shell._instance;
- };
- §§push(ASSetPropFlags(clickx.shell.Shell.prototype,null,1));
- }
- §§pop();
- }
-